<?php
/**
 * Created by PhpStorm.
 * User: chenzhitao
 * Date: 2018/4/26
 * Time: 下午4:25
 */

namespace App\Busi\Modules\Resource;


use App\Busi\Modules\BaseBusi;
use App\Busi\Traits\ConsultTrait;
use App\Http\Requests\ConsultListRo;

class ConsultListBusi extends BaseBusi
{
    use ConsultTrait;
    public function handle(ConsultListRo $ro){
        $uid = $ro->uid;
        $page = $ro->page;
        if(!$uid ){
            return $this->getIndexConsultList();
        }
        return $this->getConsultListByUid($uid,$page);
    }
}